// index.js
import { request } from '../../utils/util'
const app = getApp();
Page({
    data: {
        goods_list:''
    },
    onLoad() {
        this.getinfo()
    },
    getinfo() {
        request('http://10.46.60.129:8888/plm/category/list').then(result=>{
            const goods_list1 = result.category
            console.log(goods_list1)
            this.setData({
                goods_list:goods_list1
            })
        }
            )
    }

})